package cn.wolfcode.luowowo2.article.service;

import cn.wolfcode.luowowo2.article.domain.Region;
import cn.wolfcode.luowowo2.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Albert on 2019/7/8.
 */
public interface IRegionService {
    PageInfo query(QueryObject qo);

    void saveOrUpdate(Region region);

    void changeHotValue(Boolean hot, Long id);

    void deleteById(Long id);


    Region get(Long id);

    List<Region> getHotRegion();

}
